package com.example.spirngbootdemo.async;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

/**
 * Description:
 *
 * @author Yang
 * create time 2021-10-21 22:52
 * @since 0.0.1
 */
@Slf4j
@Component
public class AsyncManager {
    @Async
    public void sayHello() {
        log.info("Hello World!");
    }
}
